package com.guli.member.feign;

import com.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author zzb
 * @Date 2024/5/30 15:09
 * @Version 1.0
 * @description
 */
@Repository
@FeignClient("coupon-service")
public interface CouponFeignService {

    @GetMapping("coupon/coupon/member")
    public R getMemberCoupons();

    @GetMapping("coupon/coupon/can/catch")
    public R getCouponCatch();
}
